package com.example.backendmanage.common.exception;


import lombok.Getter;

/**
 *
 * 自定义异常
 *
 * */
@Getter
public class ServiceException extends RuntimeException{
    String code;
    public ServiceException(String code,String msg){
        super(msg);
         this.code=code;
    }

}
